package com.fancy.playlist.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("t_play_history")
public class PlayHistory {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Long songId;
    private Integer playDuration;
    private BigDecimal playProgress;
    private String playSource;
    private String deviceType;
    private String ipAddress;
    private Date playTime;
}
